package com.hearwego;

import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.content.DialogInterface.OnCancelListener;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
//import android.support.v4.app.FragmentActivity;
//import com.google.android.gms.maps.SupportMapFragment;

public class TabMapa extends BaseFragment {
    SharedPreferences preferences;
	SharedPreferences.Editor editor;
	String query;

	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
	}
	
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
            Bundle savedInstanceState) {
        View view       =   inflater.inflate(R.layout.tab_mapa, container, false);
        preferences= mActivity.getSharedPreferences("Preferencias",Context.MODE_PRIVATE);
		editor = preferences.edit();
		
		query = preferences.getString("actualquery", getString(R.string.query));
		Log.i("ActualQuery", ""+query);

        return view;
    }
    


}





